<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>http::verb</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Beast">
<link rel="up" href="../ref.html" title="This Page Intentionally Left Blank 2/2">
<link rel="prev" href="boost__beast__allocate_stable.html" title="allocate_stable">
<link rel="next" href="boost__beast__http__status.html" title="http::status">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="boost__beast__allocate_stable.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="boost__beast__http__status.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="beast.ref.boost__beast__http__verb"></a><a class="link" href="boost__beast__http__verb.html" title="http::verb">http::verb</a>
</h4></div></div></div>
<p>
        <a class="indexterm" name="idm74129"></a>
      </p>
<p>
        HTTP request method verbs.
      </p>
<h5>
<a name="beast.ref.boost__beast__http__verb.h0"></a>
        <span class="phrase"><a name="beast.ref.boost__beast__http__verb.synopsis"></a></span><a class="link" href="boost__beast__http__verb.html#beast.ref.boost__beast__http__verb.synopsis">Synopsis</a>
      </h5>
<p>
        Defined in header <code class="literal">&lt;<a href="../../../../../../boost/beast/http/verb.hpp" target="_top">boost/beast/http/verb.hpp</a>&gt;</code>
      </p>
<pre class="programlisting"><span class="keyword">enum</span> <span class="identifier">verb</span>
</pre>
<h5>
<a name="beast.ref.boost__beast__http__verb.h1"></a>
        <span class="phrase"><a name="beast.ref.boost__beast__http__verb.values"></a></span><a class="link" href="boost__beast__http__verb.html#beast.ref.boost__beast__http__verb.values">Values</a>
      </h5>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
                <p>
                  Name
                </p>
              </th>
<th>
                <p>
                  Description
                </p>
              </th>
</tr></thead>
<tbody>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">unknown</span></code>
                </p>
              </td>
<td>
                <p>
                  An unknown method.
                </p>
                <p>
                  This value indicates that the request method string is not one
                  of the recognized verbs. Callers interested in the method should
                  use an interface which returns the original string.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">delete_</span></code>
                </p>
              </td>
<td>
                <p>
                  The DELETE method deletes the specified resource.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">get</span></code>
                </p>
              </td>
<td>
                <p>
                  The GET method requests a representation of the specified resource.
                </p>
                <p>
                  Requests using GET should only retrieve data and should have no
                  other effect.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">head</span></code>
                </p>
              </td>
<td>
                <p>
                  The HEAD method asks for a response identical to that of a GET
                  request, but without the response body.
                </p>
                <p>
                  This is useful for retrieving meta-information written in response
                  headers, without having to transport the entire content.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">post</span></code>
                </p>
              </td>
<td>
                <p>
                  The POST method requests that the server accept the entity enclosed
                  in the request as a new subordinate of the web resource identified
                  by the URI.
                </p>
                <p>
                  The data POSTed might be, for example, an annotation for existing
                  resources; a message for a bulletin board, newsgroup, mailing list,
                  or comment thread; a block of data that is the result of submitting
                  a web form to a data-handling process; or an item to add to a database
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">put</span></code>
                </p>
              </td>
<td>
                <p>
                  The PUT method requests that the enclosed entity be stored under
                  the supplied URI.
                </p>
                <p>
                  If the URI refers to an already existing resource, it is modified;
                  if the URI does not point to an existing resource, then the server
                  can create the resource with that URI.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">connect</span></code>
                </p>
              </td>
<td>
                <p>
                  The CONNECT method converts the request connection to a transparent
                  TCP/IP tunnel.
                </p>
                <p>
                  This is usually to facilitate SSL-encrypted communication (HTTPS)
                  through an unencrypted HTTP proxy.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">options</span></code>
                </p>
              </td>
<td>
                <p>
                  The OPTIONS method returns the HTTP methods that the server supports
                  for the specified URL.
                </p>
                <p>
                  This can be used to check the functionality of a web server by
                  requesting '*' instead of a specific resource.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">trace</span></code>
                </p>
              </td>
<td>
                <p>
                  The TRACE method echoes the received request so that a client can
                  see what (if any) changes or additions have been made by intermediate
                  servers.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">copy</span></code>
                </p>
              </td>
<td>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">lock</span></code>
                </p>
              </td>
<td>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">mkcol</span></code>
                </p>
              </td>
<td>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">move</span></code>
                </p>
              </td>
<td>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">propfind</span></code>
                </p>
              </td>
<td>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">proppatch</span></code>
                </p>
              </td>
<td>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">search</span></code>
                </p>
              </td>
<td>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">unlock</span></code>
                </p>
              </td>
<td>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">bind</span></code>
                </p>
              </td>
<td>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">rebind</span></code>
                </p>
              </td>
<td>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">unbind</span></code>
                </p>
              </td>
<td>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">acl</span></code>
                </p>
              </td>
<td>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">report</span></code>
                </p>
              </td>
<td>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">mkactivity</span></code>
                </p>
              </td>
<td>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">checkout</span></code>
                </p>
              </td>
<td>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">merge</span></code>
                </p>
              </td>
<td>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">msearch</span></code>
                </p>
              </td>
<td>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">notify</span></code>
                </p>
              </td>
<td>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">subscribe</span></code>
                </p>
              </td>
<td>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">unsubscribe</span></code>
                </p>
              </td>
<td>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">patch</span></code>
                </p>
              </td>
<td>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">purge</span></code>
                </p>
              </td>
<td>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">mkcalendar</span></code>
                </p>
              </td>
<td>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">link</span></code>
                </p>
              </td>
<td>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">unlink</span></code>
                </p>
              </td>
<td>
              </td>
</tr>
</tbody>
</table></div>
<h5>
<a name="beast.ref.boost__beast__http__verb.h2"></a>
        <span class="phrase"><a name="beast.ref.boost__beast__http__verb.description"></a></span><a class="link" href="boost__beast__http__verb.html#beast.ref.boost__beast__http__verb.description">Description</a>
      </h5>
<p>
        Each verb corresponds to a particular method string used in HTTP request
        messages.
      </p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2016-2019 Vinnie
      Falco<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="boost__beast__allocate_stable.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="boost__beast__http__status.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
